//index.js
//获取应用实例
const app = getApp()
Page({
  data: {
    price:"",
    shop_name:"",
    shop_id:0
  },

  onLoad: function (option) {
    this.setData({
      price: option.price,
      shop_name: option.shop_name,
      shop_id: option.shop_id
    })
    wx.setStorageSync('shop_id', option.shop_id);
  },

  toa:function() {
    wx.navigateBack({
      delta: 1
    })
  },

  getStart:function(){
    var that = this;
    wx.navigateTo({
      url: "/pages/start/start?shop_id=" + that.data.shop_id
    })
  }

})
